<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="java.lang.String"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理系统--登录</title>
<link href="themes/css/login.css" rel="stylesheet" type="text/css" />
</head>
<style>
        .box{
            width: 900px;
            height: 40px;
            border: 0px solid black;
            margin: 0  auto;
            text-align: center;
            line-height: 40px;
        }
 
        /* 改变字体颜色 去掉下划线 */
        .box a{
            color: black;
            text-decoration: none;
            font-weight:800;
            font-size:15px;
        }
 
        /* 3.设置左右的间隔 */
        .box span{
            margin: 0 12px;
            font-size: 12px;
            color: lightgray;
        }
 
        /* 4.鼠标悬浮 改变颜色 */
        .box a:hover{
            color: gray;
        }
 
 
    </style>
<body>
	<div id="login">
		<div id="login_header">
			<h1 class="login_logo">
				<img src="themes/default/images/login_logo.png" style="witdh:122:px;height:46px" /><!-- <a href="http://demo.dwzjs.com"></a>  -->
			</h1>
			<div class="login_headerContent">
				<div class="navList">
					<ul>
					<!-- 	<li><a href="#">设为首页</a></li>
					 	<li><a href="http://bbs.dwzjs.com">反馈</a></li>
						<li><a href="doc/dwz-user-guide.pdf" target="_blank">帮助</a></li>-->
					</ul>
				</div>
				<h2 class="login_title"><!-- <img src="themes/default/images/login_title.png" /> --></h2>
			</div>
		</div>
		<div id="login_content">
			<div class="loginForm">
				<form class="login-form" action="./login" method="post">
					<p>
						<label>用户名：</label>
						<input type="text" id="usercode" size="20"  class="login_input"
							placeholder="请输入用户名" nullmsg="请填写用户名" value="" name="usercode">
					</p>
					<p>
						<label>密码：</label>
						<!-- <input type="password" name="password" size="20" class="login_input" /> -->
						<input type="password" id="password" size="20"  class="login_input"
							placeholder="请输入密码" nullmsg="请填写密码" name="password">
					</p>
					<%
					String msg = (String) request.getAttribute("msg");
					if (msg != null && !msg.equals("")) {
				%>
				<p style="color: red;" >
					<%=msg%>
				</p>
				<%
					}
				%>
					<!--  <p>
						<label>验证码：</label>
						<input class="code" type="text" size="5" />
						<span><img src="themes/default/images/header_bg.png" alt="" width="75" height="24" /></span>
					</p>   -->
					
				
				<br />
				<div class="login_bar">
				<input class="sub" type="submit" value=" " />
				</div>
				</form>
			</div>
			<div class="login_banner"><img src="themes/default/images/login_banner.jpg" /></div>
			<div class="login_main">                                  
			 	<ul class="helpList">
					<li><a href="#">常用连接1</a></li>
					<li><a href="#">常用连接2</a></li>
					<li><a href="#">忘记密码怎么办？</a></li>
					<li><a href="#">为什么登录失败？</a></li>
				</ul> 
			</div>
		</div>
		<div id="login_footer">
			[Copyright &copy; 2018 All Rights Reserved.]</div>
		</div>
	</div>
</body>
</html>